package com.jxbeidou.system.user.service;

import com.jxbeidou.core.entity.PageResult;
import com.jxbeidou.core.entity.SecurityUserVO;
import com.jxbeidou.core.mybatis.service.BaseService;
import com.jxbeidou.system.api.user.dto.UserDTO;
import com.jxbeidou.system.user.vo.UserVO;
import com.jxbeidou.system.user.query.UserQuery;
import com.jxbeidou.system.user.entity.UserDO;

import java.util.List;

/**
 * 登录用户表
 *
 * @author 杜晓祥 
 * @since 1.0.0 2023-12-14
 */
public interface UserService extends BaseService<UserDO> {

    PageResult<UserVO> page(UserQuery query);

    SecurityUserVO loadUsername (String username);

    UserDTO selectUsername (String username);

    void save(UserVO vo);

    void update(UserVO vo);

    void delete(List<Long> idList);
}